﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CSAngband.Player {
	partial class Player {
		/*
		 * Stat Table (CHR) -- payment percentages
		 */
		public static byte[] adj_chr_gold = new byte[Misc.STAT_RANGE]
		{
			143	/* 3 */,
			137	/* 4 */,
			134	/* 5 */,
			132	/* 6 */,
			129	/* 7 */,
			127	/* 8 */,
			123	/* 9 */,
			122	/* 10 */,
			121	/* 11 */,
			118	/* 12 */,
			116	/* 13 */,
			113	/* 14 */,
			113	/* 15 */,
			112	/* 16 */,
			111	/* 17 */,
			110	/* 18/00-18/09 */,
			108	/* 18/10-18/19 */,
			107	/* 18/20-18/29 */,
			106	/* 18/30-18/39 */,
			105	/* 18/40-18/49 */,
			104	/* 18/50-18/59 */,
			103	/* 18/60-18/69 */,
			102	/* 18/70-18/79 */,
			101	/* 18/80-18/89 */,
			100	/* 18/90-18/99 */,
			99	/* 18/100-18/109 */,
			97	/* 18/110-18/119 */,
			96	/* 18/120-18/129 */,
			95	/* 18/130-18/139 */,
			94	/* 18/140-18/149 */,
			93	/* 18/150-18/159 */,
			92	/* 18/160-18/169 */,
			91	/* 18/170-18/179 */,
			90	/* 18/180-18/189 */,
			90	/* 18/190-18/199 */,
			90	/* 18/200-18/209 */,
			90	/* 18/210-18/219 */,
			90	/* 18/220+ */
		};

		/*
		 * Stat Table (INT) -- Magic devices
		 */
		public static byte[] adj_int_dev = new byte[Misc.STAT_RANGE]
		{
			0	/* 3 */,
			0	/* 4 */,
			0	/* 5 */,
			0	/* 6 */,
			0	/* 7 */,
			1	/* 8 */,
			1	/* 9 */,
			1	/* 10 */,
			1	/* 11 */,
			1	/* 12 */,
			1	/* 13 */,
			1	/* 14 */,
			2	/* 15 */,
			2	/* 16 */,
			2	/* 17 */,
			3	/* 18/00-18/09 */,
			3	/* 18/10-18/19 */,
			3	/* 18/20-18/29 */,
			3	/* 18/30-18/39 */,
			3	/* 18/40-18/49 */,
			4	/* 18/50-18/59 */,
			4	/* 18/60-18/69 */,
			5	/* 18/70-18/79 */,
			5	/* 18/80-18/89 */,
			6	/* 18/90-18/99 */,
			6	/* 18/100-18/109 */,
			7	/* 18/110-18/119 */,
			7	/* 18/120-18/129 */,
			8	/* 18/130-18/139 */,
			8	/* 18/140-18/149 */,
			9	/* 18/150-18/159 */,
			9	/* 18/160-18/169 */,
			10	/* 18/170-18/179 */,
			10	/* 18/180-18/189 */,
			11	/* 18/190-18/199 */,
			11	/* 18/200-18/209 */,
			12	/* 18/210-18/219 */,
			13	/* 18/220+ */
		};

		/*
		 * Stat Table (WIS) -- Saving throw
		 */
		public static byte[] adj_wis_sav = new byte[Misc.STAT_RANGE]
		{
			0	/* 3 */,
			0	/* 4 */,
			0	/* 5 */,
			0	/* 6 */,
			0	/* 7 */,
			1	/* 8 */,
			1	/* 9 */,
			1	/* 10 */,
			1	/* 11 */,
			1	/* 12 */,
			1	/* 13 */,
			1	/* 14 */,
			2	/* 15 */,
			2	/* 16 */,
			2	/* 17 */,
			3	/* 18/00-18/09 */,
			3	/* 18/10-18/19 */,
			3	/* 18/20-18/29 */,
			3	/* 18/30-18/39 */,
			3	/* 18/40-18/49 */,
			4	/* 18/50-18/59 */,
			4	/* 18/60-18/69 */,
			5	/* 18/70-18/79 */,
			5	/* 18/80-18/89 */,
			6	/* 18/90-18/99 */,
			7	/* 18/100-18/109 */,
			8	/* 18/110-18/119 */,
			9	/* 18/120-18/129 */,
			10	/* 18/130-18/139 */,
			11	/* 18/140-18/149 */,
			12	/* 18/150-18/159 */,
			13	/* 18/160-18/169 */,
			14	/* 18/170-18/179 */,
			15	/* 18/180-18/189 */,
			16	/* 18/190-18/199 */,
			17	/* 18/200-18/209 */,
			18	/* 18/210-18/219 */,
			19	/* 18/220+ */
		};


		/*
		 * Stat Table (DEX) -- disarming
		 */
		public static byte[] adj_dex_dis = new byte[Misc.STAT_RANGE]
		{
			0	/* 3 */,
			0	/* 4 */,
			0	/* 5 */,
			0	/* 6 */,
			0	/* 7 */,
			0	/* 8 */,
			0	/* 9 */,
			0	/* 10 */,
			0	/* 11 */,
			0	/* 12 */,
			1	/* 13 */,
			1	/* 14 */,
			1	/* 15 */,
			2	/* 16 */,
			2	/* 17 */,
			4	/* 18/00-18/09 */,
			4	/* 18/10-18/19 */,
			4	/* 18/20-18/29 */,
			4	/* 18/30-18/39 */,
			5	/* 18/40-18/49 */,
			5	/* 18/50-18/59 */,
			5	/* 18/60-18/69 */,
			6	/* 18/70-18/79 */,
			6	/* 18/80-18/89 */,
			7	/* 18/90-18/99 */,
			8	/* 18/100-18/109 */,
			8	/* 18/110-18/119 */,
			8	/* 18/120-18/129 */,
			8	/* 18/130-18/139 */,
			8	/* 18/140-18/149 */,
			9	/* 18/150-18/159 */,
			9	/* 18/160-18/169 */,
			9	/* 18/170-18/179 */,
			9	/* 18/180-18/189 */,
			9	/* 18/190-18/199 */,
			10	/* 18/200-18/209 */,
			10	/* 18/210-18/219 */,
			10	/* 18/220+ */
		};


		/*
		 * Stat Table (INT) -- disarming
		 */
		public static byte[] adj_int_dis = new byte[Misc.STAT_RANGE]
		{
			0	/* 3 */,
			0	/* 4 */,
			0	/* 5 */,
			0	/* 6 */,
			0	/* 7 */,
			1	/* 8 */,
			1	/* 9 */,
			1	/* 10 */,
			1	/* 11 */,
			1	/* 12 */,
			1	/* 13 */,
			1	/* 14 */,
			2	/* 15 */,
			2	/* 16 */,
			2	/* 17 */,
			3	/* 18/00-18/09 */,
			3	/* 18/10-18/19 */,
			3	/* 18/20-18/29 */,
			4	/* 18/30-18/39 */,
			4	/* 18/40-18/49 */,
			5	/* 18/50-18/59 */,
			6	/* 18/60-18/69 */,
			7	/* 18/70-18/79 */,
			8	/* 18/80-18/89 */,
			9	/* 18/90-18/99 */,
			10	/* 18/100-18/109 */,
			10	/* 18/110-18/119 */,
			11	/* 18/120-18/129 */,
			12	/* 18/130-18/139 */,
			13	/* 18/140-18/149 */,
			14	/* 18/150-18/159 */,
			15	/* 18/160-18/169 */,
			16	/* 18/170-18/179 */,
			17	/* 18/180-18/189 */,
			18	/* 18/190-18/199 */,
			19	/* 18/200-18/209 */,
			19	/* 18/210-18/219 */,
			19	/* 18/220+ */
		};

		/*
		 * Stat Table (DEX) -- bonus to ac (plus 128)
		 */
		public static byte[] adj_dex_ta = new byte[Misc.STAT_RANGE]
		{
			128 + -4	/* 3 */,
			128 + -3	/* 4 */,
			128 + -2	/* 5 */,
			128 + -1	/* 6 */,
			128 + 0	/* 7 */,
			128 + 0	/* 8 */,
			128 + 0	/* 9 */,
			128 + 0	/* 10 */,
			128 + 0	/* 11 */,
			128 + 0	/* 12 */,
			128 + 0	/* 13 */,
			128 + 0	/* 14 */,
			128 + 1	/* 15 */,
			128 + 1	/* 16 */,
			128 + 1	/* 17 */,
			128 + 2	/* 18/00-18/09 */,
			128 + 2	/* 18/10-18/19 */,
			128 + 2	/* 18/20-18/29 */,
			128 + 2	/* 18/30-18/39 */,
			128 + 2	/* 18/40-18/49 */,
			128 + 3	/* 18/50-18/59 */,
			128 + 3	/* 18/60-18/69 */,
			128 + 3	/* 18/70-18/79 */,
			128 + 4	/* 18/80-18/89 */,
			128 + 5	/* 18/90-18/99 */,
			128 + 6	/* 18/100-18/109 */,
			128 + 7	/* 18/110-18/119 */,
			128 + 8	/* 18/120-18/129 */,
			128 + 9	/* 18/130-18/139 */,
			128 + 9	/* 18/140-18/149 */,
			128 + 10	/* 18/150-18/159 */,
			128 + 11	/* 18/160-18/169 */,
			128 + 12	/* 18/170-18/179 */,
			128 + 13	/* 18/180-18/189 */,
			128 + 14	/* 18/190-18/199 */,
			128 + 15	/* 18/200-18/209 */,
			128 + 15	/* 18/210-18/219 */,
			128 + 15	/* 18/220+ */
		};

		/*
		 * Stat Table (STR) -- bonus to dam (plus 128)
		 */
		public static byte[] adj_str_td = new byte[Misc.STAT_RANGE]
		{
			128 + -2	/* 3 */,
			128 + -2	/* 4 */,
			128 + -1	/* 5 */,
			128 + -1	/* 6 */,
			128 + 0	/* 7 */,
			128 + 0	/* 8 */,
			128 + 0	/* 9 */,
			128 + 0	/* 10 */,
			128 + 0	/* 11 */,
			128 + 0	/* 12 */,
			128 + 0	/* 13 */,
			128 + 0	/* 14 */,
			128 + 0	/* 15 */,
			128 + 1	/* 16 */,
			128 + 2	/* 17 */,
			128 + 2	/* 18/00-18/09 */,
			128 + 2	/* 18/10-18/19 */,
			128 + 3	/* 18/20-18/29 */,
			128 + 3	/* 18/30-18/39 */,
			128 + 3	/* 18/40-18/49 */,
			128 + 3	/* 18/50-18/59 */,
			128 + 3	/* 18/60-18/69 */,
			128 + 4	/* 18/70-18/79 */,
			128 + 5	/* 18/80-18/89 */,
			128 + 5	/* 18/90-18/99 */,
			128 + 6	/* 18/100-18/109 */,
			128 + 7	/* 18/110-18/119 */,
			128 + 8	/* 18/120-18/129 */,
			128 + 9	/* 18/130-18/139 */,
			128 + 10	/* 18/140-18/149 */,
			128 + 11	/* 18/150-18/159 */,
			128 + 12	/* 18/160-18/169 */,
			128 + 13	/* 18/170-18/179 */,
			128 + 14	/* 18/180-18/189 */,
			128 + 15	/* 18/190-18/199 */,
			128 + 16	/* 18/200-18/209 */,
			128 + 18	/* 18/210-18/219 */,
			128 + 20	/* 18/220+ */
		};


		/*
		 * Stat Table (DEX) -- bonus to hit (plus 128)
		 */
		public static byte[] adj_dex_th = new byte[Misc.STAT_RANGE]
		{
			128 + -3	/* 3 */,
			128 + -2	/* 4 */,
			128 + -2	/* 5 */,
			128 + -1	/* 6 */,
			128 + -1	/* 7 */,
			128 + 0	/* 8 */,
			128 + 0	/* 9 */,
			128 + 0	/* 10 */,
			128 + 0	/* 11 */,
			128 + 0	/* 12 */,
			128 + 0	/* 13 */,
			128 + 0	/* 14 */,
			128 + 0	/* 15 */,
			128 + 1	/* 16 */,
			128 + 2	/* 17 */,
			128 + 3	/* 18/00-18/09 */,
			128 + 3	/* 18/10-18/19 */,
			128 + 3	/* 18/20-18/29 */,
			128 + 3	/* 18/30-18/39 */,
			128 + 3	/* 18/40-18/49 */,
			128 + 4	/* 18/50-18/59 */,
			128 + 4	/* 18/60-18/69 */,
			128 + 4	/* 18/70-18/79 */,
			128 + 4	/* 18/80-18/89 */,
			128 + 5	/* 18/90-18/99 */,
			128 + 6	/* 18/100-18/109 */,
			128 + 7	/* 18/110-18/119 */,
			128 + 8	/* 18/120-18/129 */,
			128 + 9	/* 18/130-18/139 */,
			128 + 9	/* 18/140-18/149 */,
			128 + 10	/* 18/150-18/159 */,
			128 + 11	/* 18/160-18/169 */,
			128 + 12	/* 18/170-18/179 */,
			128 + 13	/* 18/180-18/189 */,
			128 + 14	/* 18/190-18/199 */,
			128 + 15	/* 18/200-18/209 */,
			128 + 15	/* 18/210-18/219 */,
			128 + 15	/* 18/220+ */
		};


		/*
		 * Stat Table (STR) -- bonus to hit (plus 128)
		 */
		public static byte[] adj_str_th = new byte[Misc.STAT_RANGE]
		{
			128 + -3	/* 3 */,
			128 + -2	/* 4 */,
			128 + -1	/* 5 */,
			128 + -1	/* 6 */,
			128 + 0	/* 7 */,
			128 + 0	/* 8 */,
			128 + 0	/* 9 */,
			128 + 0	/* 10 */,
			128 + 0	/* 11 */,
			128 + 0	/* 12 */,
			128 + 0	/* 13 */,
			128 + 0	/* 14 */,
			128 + 0	/* 15 */,
			128 + 0	/* 16 */,
			128 + 0	/* 17 */,
			128 + 1	/* 18/00-18/09 */,
			128 + 1	/* 18/10-18/19 */,
			128 + 1	/* 18/20-18/29 */,
			128 + 1	/* 18/30-18/39 */,
			128 + 1	/* 18/40-18/49 */,
			128 + 1	/* 18/50-18/59 */,
			128 + 1	/* 18/60-18/69 */,
			128 + 2	/* 18/70-18/79 */,
			128 + 3	/* 18/80-18/89 */,
			128 + 4	/* 18/90-18/99 */,
			128 + 5	/* 18/100-18/109 */,
			128 + 6	/* 18/110-18/119 */,
			128 + 7	/* 18/120-18/129 */,
			128 + 8	/* 18/130-18/139 */,
			128 + 9	/* 18/140-18/149 */,
			128 + 10	/* 18/150-18/159 */,
			128 + 11	/* 18/160-18/169 */,
			128 + 12	/* 18/170-18/179 */,
			128 + 13	/* 18/180-18/189 */,
			128 + 14	/* 18/190-18/199 */,
			128 + 15	/* 18/200-18/209 */,
			128 + 15	/* 18/210-18/219 */,
			128 + 15	/* 18/220+ */
		};


		/*
		 * Stat Table (STR) -- weight limit in deca-pounds
		 */
		public static byte[] adj_str_wgt = new byte[Misc.STAT_RANGE]
		{
			5	/* 3 */,
			6	/* 4 */,
			7	/* 5 */,
			8	/* 6 */,
			9	/* 7 */,
			10	/* 8 */,
			11	/* 9 */,
			12	/* 10 */,
			13	/* 11 */,
			14	/* 12 */,
			15	/* 13 */,
			16	/* 14 */,
			17	/* 15 */,
			18	/* 16 */,
			19	/* 17 */,
			20	/* 18/00-18/09 */,
			22	/* 18/10-18/19 */,
			24	/* 18/20-18/29 */,
			26	/* 18/30-18/39 */,
			28	/* 18/40-18/49 */,
			30	/* 18/50-18/59 */,
			30	/* 18/60-18/69 */,
			30	/* 18/70-18/79 */,
			30	/* 18/80-18/89 */,
			30	/* 18/90-18/99 */,
			30	/* 18/100-18/109 */,
			30	/* 18/110-18/119 */,
			30	/* 18/120-18/129 */,
			30	/* 18/130-18/139 */,
			30	/* 18/140-18/149 */,
			30	/* 18/150-18/159 */,
			30	/* 18/160-18/169 */,
			30	/* 18/170-18/179 */,
			30	/* 18/180-18/189 */,
			30	/* 18/190-18/199 */,
			30	/* 18/200-18/209 */,
			30	/* 18/210-18/219 */,
			30	/* 18/220+ */
		};


		/*
		 * Stat Table (STR) -- weapon weight limit in pounds
		 */
		public static byte[] adj_str_hold = new byte[Misc.STAT_RANGE]
		{
			4	/* 3 */,
			5	/* 4 */,
			6	/* 5 */,
			7	/* 6 */,
			8	/* 7 */,
			10	/* 8 */,
			12	/* 9 */,
			14	/* 10 */,
			16	/* 11 */,
			18	/* 12 */,
			20	/* 13 */,
			22	/* 14 */,
			24	/* 15 */,
			26	/* 16 */,
			28	/* 17 */,
			30	/* 18/00-18/09 */,
			30	/* 18/10-18/19 */,
			35	/* 18/20-18/29 */,
			40	/* 18/30-18/39 */,
			45	/* 18/40-18/49 */,
			50	/* 18/50-18/59 */,
			55	/* 18/60-18/69 */,
			60	/* 18/70-18/79 */,
			65	/* 18/80-18/89 */,
			70	/* 18/90-18/99 */,
			80	/* 18/100-18/109 */,
			80	/* 18/110-18/119 */,
			80	/* 18/120-18/129 */,
			80	/* 18/130-18/139 */,
			80	/* 18/140-18/149 */,
			90	/* 18/150-18/159 */,
			90	/* 18/160-18/169 */,
			90	/* 18/170-18/179 */,
			90	/* 18/180-18/189 */,
			90	/* 18/190-18/199 */,
			100	/* 18/200-18/209 */,
			100	/* 18/210-18/219 */,
			100	/* 18/220+ */
		};


		/*
		 * Stat Table (STR) -- digging value
		 */
		public static byte[] adj_str_dig = new byte[Misc.STAT_RANGE]
		{
			0	/* 3 */,
			0	/* 4 */,
			1	/* 5 */,
			2	/* 6 */,
			3	/* 7 */,
			4	/* 8 */,
			4	/* 9 */,
			5	/* 10 */,
			5	/* 11 */,
			6	/* 12 */,
			6	/* 13 */,
			7	/* 14 */,
			7	/* 15 */,
			8	/* 16 */,
			8	/* 17 */,
			9	/* 18/00-18/09 */,
			10	/* 18/10-18/19 */,
			12	/* 18/20-18/29 */,
			15	/* 18/30-18/39 */,
			20	/* 18/40-18/49 */,
			25	/* 18/50-18/59 */,
			30	/* 18/60-18/69 */,
			35	/* 18/70-18/79 */,
			40	/* 18/80-18/89 */,
			45	/* 18/90-18/99 */,
			50	/* 18/100-18/109 */,
			55	/* 18/110-18/119 */,
			60	/* 18/120-18/129 */,
			65	/* 18/130-18/139 */,
			70	/* 18/140-18/149 */,
			75	/* 18/150-18/159 */,
			80	/* 18/160-18/169 */,
			85	/* 18/170-18/179 */,
			90	/* 18/180-18/189 */,
			95	/* 18/190-18/199 */,
			100	/* 18/200-18/209 */,
			100	/* 18/210-18/219 */,
			100	/* 18/220+ */
		};


		/*
		 * Stat Table (STR) -- help index into the "blow" table
		 */
		public static byte[] adj_str_blow = new byte[Misc.STAT_RANGE]
		{
			3	/* 3 */,
			4	/* 4 */,
			5	/* 5 */,
			6	/* 6 */,
			7	/* 7 */,
			8	/* 8 */,
			9	/* 9 */,
			10	/* 10 */,
			11	/* 11 */,
			12	/* 12 */,
			13	/* 13 */,
			14	/* 14 */,
			15	/* 15 */,
			16	/* 16 */,
			17	/* 17 */,
			20 /* 18/00-18/09 */,
			30 /* 18/10-18/19 */,
			40 /* 18/20-18/29 */,
			50 /* 18/30-18/39 */,
			60 /* 18/40-18/49 */,
			70 /* 18/50-18/59 */,
			80 /* 18/60-18/69 */,
			90 /* 18/70-18/79 */,
			100 /* 18/80-18/89 */,
			110 /* 18/90-18/99 */,
			120 /* 18/100-18/109 */,
			130 /* 18/110-18/119 */,
			140 /* 18/120-18/129 */,
			150 /* 18/130-18/139 */,
			160 /* 18/140-18/149 */,
			170 /* 18/150-18/159 */,
			180 /* 18/160-18/169 */,
			190 /* 18/170-18/179 */,
			200 /* 18/180-18/189 */,
			210 /* 18/190-18/199 */,
			220 /* 18/200-18/209 */,
			230 /* 18/210-18/219 */,
			240 /* 18/220+ */
		};


		/*
		 * Stat Table (DEX) -- index into the "blow" table
		 */
		public static byte[] adj_dex_blow = new byte[Misc.STAT_RANGE]
		{
			0	/* 3 */,
			0	/* 4 */,
			0	/* 5 */,
			0	/* 6 */,
			0	/* 7 */,
			0	/* 8 */,
			0	/* 9 */,
			1	/* 10 */,
			1	/* 11 */,
			1	/* 12 */,
			1	/* 13 */,
			1	/* 14 */,
			1	/* 15 */,
			1	/* 16 */,
			2	/* 17 */,
			2	/* 18/00-18/09 */,
			2	/* 18/10-18/19 */,
			3	/* 18/20-18/29 */,
			3	/* 18/30-18/39 */,
			4	/* 18/40-18/49 */,
			4	/* 18/50-18/59 */,
			5	/* 18/60-18/69 */,
			5	/* 18/70-18/79 */,
			6	/* 18/80-18/89 */,
			6	/* 18/90-18/99 */,
			7	/* 18/100-18/109 */,
			7	/* 18/110-18/119 */,
			8	/* 18/120-18/129 */,
			8	/* 18/130-18/139 */,
			8	/* 18/140-18/149 */,
			9	/* 18/150-18/159 */,
			9	/* 18/160-18/169 */,
			9	/* 18/170-18/179 */,
			10	/* 18/180-18/189 */,
			10	/* 18/190-18/199 */,
			11	/* 18/200-18/209 */,
			11	/* 18/210-18/219 */,
			11	/* 18/220+ */
		};


		/*
		 * Stat Table (DEX) -- chance of avoiding "theft" and "falling"
		 */
		public static byte[] adj_dex_safe = new byte[Misc.STAT_RANGE]
		{
			0	/* 3 */,
			1	/* 4 */,
			2	/* 5 */,
			3	/* 6 */,
			4	/* 7 */,
			5	/* 8 */,
			5	/* 9 */,
			6	/* 10 */,
			6	/* 11 */,
			7	/* 12 */,
			7	/* 13 */,
			8	/* 14 */,
			8	/* 15 */,
			9	/* 16 */,
			9	/* 17 */,
			10	/* 18/00-18/09 */,
			10	/* 18/10-18/19 */,
			15	/* 18/20-18/29 */,
			15	/* 18/30-18/39 */,
			20	/* 18/40-18/49 */,
			25	/* 18/50-18/59 */,
			30	/* 18/60-18/69 */,
			35	/* 18/70-18/79 */,
			40	/* 18/80-18/89 */,
			45	/* 18/90-18/99 */,
			50	/* 18/100-18/109 */,
			60	/* 18/110-18/119 */,
			70	/* 18/120-18/129 */,
			80	/* 18/130-18/139 */,
			90	/* 18/140-18/149 */,
			100	/* 18/150-18/159 */,
			100	/* 18/160-18/169 */,
			100	/* 18/170-18/179 */,
			100	/* 18/180-18/189 */,
			100	/* 18/190-18/199 */,
			100	/* 18/200-18/209 */,
			100	/* 18/210-18/219 */,
			100	/* 18/220+ */
		};


		/*
		 * Stat Table (CON) -- base regeneration rate
		 */
		public static byte[] adj_con_fix = new byte[Misc.STAT_RANGE]
		{
			0	/* 3 */,
			0	/* 4 */,
			0	/* 5 */,
			0	/* 6 */,
			0	/* 7 */,
			0	/* 8 */,
			0	/* 9 */,
			0	/* 10 */,
			0	/* 11 */,
			0	/* 12 */,
			0	/* 13 */,
			1	/* 14 */,
			1	/* 15 */,
			1	/* 16 */,
			1	/* 17 */,
			2	/* 18/00-18/09 */,
			2	/* 18/10-18/19 */,
			2	/* 18/20-18/29 */,
			2	/* 18/30-18/39 */,
			2	/* 18/40-18/49 */,
			3	/* 18/50-18/59 */,
			3	/* 18/60-18/69 */,
			3	/* 18/70-18/79 */,
			3	/* 18/80-18/89 */,
			3	/* 18/90-18/99 */,
			4	/* 18/100-18/109 */,
			4	/* 18/110-18/119 */,
			5	/* 18/120-18/129 */,
			6	/* 18/130-18/139 */,
			6	/* 18/140-18/149 */,
			7	/* 18/150-18/159 */,
			7	/* 18/160-18/169 */,
			8	/* 18/170-18/179 */,
			8	/* 18/180-18/189 */,
			8	/* 18/190-18/199 */,
			9	/* 18/200-18/209 */,
			9	/* 18/210-18/219 */,
			9	/* 18/220+ */
		};


		/*
		 * Stat Table (CON) -- extra 1/100th hitpoints per level
		 */
		public static int[] adj_con_mhp = new int[Misc.STAT_RANGE]
		{
			-250	/* 3 */,
			-150	/* 4 */,
			-100	/* 5 */,
			 -75	/* 6 */,
			 -50	/* 7 */,
			 -25	/* 8 */,
			 -10	/* 9 */,
			  -5	/* 10 */,
			   0	/* 11 */,
			   5	/* 12 */,
			  10	/* 13 */,
			  25	/* 14 */,
			  50	/* 15 */,
			  75	/* 16 */,
			 100	/* 17 */,
			 150	/* 18/00-18/09 */,
			 175	/* 18/10-18/19 */,
			 200	/* 18/20-18/29 */,
			 225	/* 18/30-18/39 */,
			 250	/* 18/40-18/49 */,
			 275	/* 18/50-18/59 */,
			 300	/* 18/60-18/69 */,
			 350	/* 18/70-18/79 */,
			 400	/* 18/80-18/89 */,
			 450	/* 18/90-18/99 */,
			 500	/* 18/100-18/109 */,
			 550	/* 18/110-18/119 */,
			 600	/* 18/120-18/129 */,
			 650	/* 18/130-18/139 */,
			 700	/* 18/140-18/149 */,
			 750	/* 18/150-18/159 */,
			 800	/* 18/160-18/169 */,
			 900	/* 18/170-18/179 */,
			1000	/* 18/180-18/189 */,
			1100	/* 18/190-18/199 */,
			1250	/* 18/200-18/209 */,
			1250	/* 18/210-18/219 */,
			1250	/* 18/220+ */
		};

		public static int[] adj_mag_study = new int[Misc.STAT_RANGE]
		{
			  0	/* 3 */,
			  0	/* 4 */,
			 10	/* 5 */,
			 20	/* 6 */,
			 30	/* 7 */,
			 40	/* 8 */,
			 50	/* 9 */,
			 60	/* 10 */,
			 70	/* 11 */,
			 80	/* 12 */,
			 85	/* 13 */,
			 90	/* 14 */,
			 95	/* 15 */,
			100	/* 16 */,
			105	/* 17 */,
			110	/* 18/00-18/09 */,
			115	/* 18/10-18/19 */,
			120	/* 18/20-18/29 */,
			130	/* 18/30-18/39 */,
			140	/* 18/40-18/49 */,
			150	/* 18/50-18/59 */,
			160	/* 18/60-18/69 */,
			170	/* 18/70-18/79 */,
			180	/* 18/80-18/89 */,
			190	/* 18/90-18/99 */,
			200	/* 18/100-18/109 */,
			210	/* 18/110-18/119 */,
			220	/* 18/120-18/129 */,
			230	/* 18/130-18/139 */,
			240	/* 18/140-18/149 */,
			250	/* 18/150-18/159 */,
			250	/* 18/160-18/169 */,
			250	/* 18/170-18/179 */,
			250	/* 18/180-18/189 */,
			250	/* 18/190-18/199 */,
			250	/* 18/200-18/209 */,
			250	/* 18/210-18/219 */,
			250	/* 18/220+ */
		};

		/*
		 * Stat Table (INT/WIS) -- extra 1/100 mana-points per level
		 */
		public static int[] adj_mag_mana = new int[Misc.STAT_RANGE]
		{
			  0	/* 3 */,
			 10	/* 4 */,
			 20	/* 5 */,
			 30	/* 6 */,
			 40	/* 7 */,
			 50	/* 8 */,
			 60	/* 9 */,
			 70	/* 10 */,
			 80	/* 11 */,
			 90	/* 12 */,
			100	/* 13 */,
			110	/* 14 */,
			120	/* 15 */,
			130	/* 16 */,
			140	/* 17 */,
			150	/* 18/00-18/09 */,
			160	/* 18/10-18/19 */,
			170	/* 18/20-18/29 */,
			180	/* 18/30-18/39 */,
			190	/* 18/40-18/49 */,
			200	/* 18/50-18/59 */,
			225	/* 18/60-18/69 */,
			250	/* 18/70-18/79 */,
			300	/* 18/80-18/89 */,
			350	/* 18/90-18/99 */,
			400	/* 18/100-18/109 */,
			450	/* 18/110-18/119 */,
			500	/* 18/120-18/129 */,
			550	/* 18/130-18/139 */,
			600	/* 18/140-18/149 */,
			650	/* 18/150-18/159 */,
			700	/* 18/160-18/169 */,
			750	/* 18/170-18/179 */,
			800	/* 18/180-18/189 */,
			800	/* 18/190-18/199 */,
			800	/* 18/200-18/209 */,
			800	/* 18/210-18/219 */,
			800	/* 18/220+ */
		};

		/*
		 * This table is used to help calculate the number of blows the player can
		 * make in a single round of attacks (one player turn) with a normal weapon.
		 *
		 * This number ranges from a single blow/round for weak players to up to six
		 * blows/round for powerful warriors.
		 *
		 * Note that certain artifacts and ego-items give "bonus" blows/round.
		 *
		 * First, from the player class, we extract some values:
		 *
		 *    Warrior -. num = 6; mul = 5; div = MAX(30, weapon_weight);
		 *    Mage    -. num = 4; mul = 2; div = MAX(40, weapon_weight);
		 *    Priest  -. num = 4; mul = 3; div = MAX(35, weapon_weight);
		 *    Rogue   -. num = 5; mul = 4; div = MAX(30, weapon_weight);
		 *    Ranger  -. num = 5; mul = 4; div = MAX(35, weapon_weight);
		 *    Paladin -. num = 5; mul = 5; div = MAX(30, weapon_weight);
		 * (all specified in p_class.txt now)
		 *
		 * To get "P", we look up the relevant "adj_str_blow[]" (see above),
		 * multiply it by "mul", and then divide it by "div", rounding down.
		 *
		 * To get "D", we look up the relevant "adj_dex_blow[]" (see above).
		 *
		 * Then we look up the energy cost of each blow using "blows_table[P][D]".
		 * The player gets blows/round equal to 100/this number, up to a maximum of
		 * "num" blows/round, plus any "bonus" blows/round.
		 */
		public static byte[,] blows_table = new byte[12, 12]
		{
			/* P */
		   /* D:   0,   1,   2,   3,   4,   5,   6,   7,   8,   9,   10,  11+ */
		   /* DEX: 3,   10,  17,  /20, /40, /60, /80, /100,/120,/150,/180,/200 */

			/* 0  */
			{  100, 100, 95,  85,  75,  60,  50,  42,  35,  30,  25,  23 },

			/* 1  */
			{  100, 95,  85,  75,  60,  50,  42,  35,  30,  25,  23,  21 },

			/* 2  */
			{  95,  85,  75,  60,  50,  42,  35,  30,  26,  23,  21,  20 },

			/* 3  */
			{  85,  75,  60,  50,  42,  36,  32,  28,  25,  22,  20,  19 },

			/* 4  */
			{  75,  60,  50,  42,  36,  33,  28,  25,  23,  21,  19,  18 },

			/* 5  */
			{  60,  50,  42,  36,  33,  30,  27,  24,  22,  21,  19,  17 },

			/* 6  */
			{  50,  42,  36,  33,  30,  27,  25,  23,  21,  20,  18,  17 },

			/* 7  */
			{  42,  36,  33,  30,  28,  26,  24,  22,  20,  19,  18,  17 },

			/* 8  */
			{  36,  33,  30,  28,  26,  24,  22,  21,  20,  19,  17,  16 },

			/* 9  */
			{  35,  32,  29,  26,  24,  22,  21,  20,  19,  18,  17,  16 },

			/* 10 */
			{  34,  30,  27,  25,  23,  22,  21,  20,  19,  18,  17,  16 },

			/* 11+ */
			{  33,  29,  26,  24,  22,  21,  20,  19,  18,  17,  16,  15 },
		   /* DEX: 3,   10,  17,  /20, /40, /60, /80, /100,/120,/150,/180,/200 */
		};
	}
}
